package com.cnswhy.cloud.server.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value="CustomerRegistDto",description="用户注册BO")
public class CustomerRegistDto {

    private static final long serialVersionUID = 1L;

    /**
     * 密码
     */
    @ApiModelProperty(name="password", value="注册加密密码")
    private String password;

    /**
     * 手机号
     */
    @Size(max = 11, message = "手机号超长")
    @ApiModelProperty(name="mobile", value="注册账号")
    private String mobile;

    /**
     * 验证码
     */
    @ApiModelProperty(name="verifyCode", value="验证码")
    private String verifyCode;

    /**
     * 邀请人号码
     */
    @ApiModelProperty(name="promoterMobile", value="邀请人手机号码")
    private String promoterMobile;

    /**
     * 支付密码
     */
    @ApiModelProperty(name = "payPassword", value = "交易密码")
    private String payPassword;
    /**
     * OEM机构编号
     */
    @ApiModelProperty(name = "oemCode", value = "OEM机构编号")
    private String oemCode;
}
